sgdk: Bitmap Struct Reference

sgdk

- Main Page
- Related Pages
- Classes
- Files

- Class List

Public Attributes
Bitmap Struct Reference

`#include <bmp.h>`

List of all members.

## Public Attributes

u16 | compression
u16 | w
u16 | h
const Palette * | palette
const u8 * | image

## Detailed Description

Genesis 4bpp Bitmap structure definition.
Use the unpackBitmap() method to unpack if compression is enabled.

Parameters:

  compression | compression type for image data, accepted values: COMPRESSION_NONE COMPRESSION_APLIB COMPRESSION_RLE
  w | Width in pixel.
  h | Height in pixel.
  palette | Palette data.
  image | Image data, array size = (w * h / 2).

The documentation for this struct was generated from the following file:

- bmp.h

All Classes Files Functions Variables Typedefs Enumerations Defines